<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	 xmlns:p="http://primefaces.prime.com.tr/ui"
	 xmlns:h="http://java.sun.com/jsf/html"
	 xmlns:f="http://java.sun.com/jsf/core"
	 xmlns:ui="http://java.sun.com/jsf/facelets">
	<f:view contentType="text/html"/>	 
	<h:head>
		<title>Sistema de Gestão da Associação Mãe Auxiliadora</title>
		<h:outputStylesheet library="css" name="grid.css"/>
		<h:outputStylesheet library="css" name="style.css"/>
	</h:head>
	<h:body>
		<div id="blocoCabecalho">
			<div class="container">
				<h:graphicImage library="imagens" 
						name="ama.png" 
						id="logoCompany"/>
			</div>
			<div id="usuarioLogado">
				<h:outputText 
				   rendered="#{usuarioLogado.login!=null}"
				   value="Usuario: #{usuarioLogado.login}"/>
				<br/>
				<h:form>
					<h:commandButton value="Sair"
				 	  rendered="#{usuarioLogado.login!=null}"
				 	  action="#{usuarioLogado.logout}"/>
				</h:form>
			</div>
		</div>
		<div id="blocoConteudo">
			<div class="container">
				<ui:insert name="conteudo"/>
			</div>
		</div>
		
	</h:body>
	
<p:layoutUnit position="south" size="30" resizable="false" closable="false" collapsible="false" style="align: right">  
     <div id="blocoRodape">
			<p>Fucapi - POO II 2013. 
				Laurinex da Silva Souza</p>
	</div>
</p:layoutUnit>
		
</html>